home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 3⁄16⁄90 / 0881-?Headerprinting V2-Mar90 < prev    next >
Encoding:
Text File  |  1990-03-16  |  1.6 KB  |  40 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  MADA2        to D5295
  2.  
  3. Item    5211179                         13-March-90        15:37PST
  4.  
  5. From:   AU0008                          Austria - Kopfwerk,IDV
  6.  
  7. To:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    ?Headerprinting V2
  10.  
  11. Dear colleagues,
  12.  
  13. This is my 2nd link with the question about printing of headers and footers. I
  14. didn´t get any response but I cannot believe that only me in the whole universe
  15. want to print gridviews (or something else) with headers and footers. Maybe
  16. Apple´s message of "x-thousends MacApp developers…" is wrong???
  17.  
  18. The solution I found has some disadvanteges and maybe somebody can help me to
  19. find a better way. Let me explain: I overrode TStdPrintHandler to handle 2 (or
  20. 3) views - the main view and the header (and footer) view. The main view will
  21. be handled in the normal way (passed in IStdPrintHandler). The other views will
  22. be printed in an overriden AdornPage method. Because multiple views should be
  23. printed, focusing will be important. (override FocusOnBorder and
  24. FocusOnInterior to replace the minimal focusing with real focus calls).
  25.  
  26. My solution has problems and limitations:
  27. 1. sometimes there is no mainview on the LW output, but always it´s visible
  28. with "Preview".
  29. 2. There is is always the same header part, also when horizontal breaks occurs.
  30.  
  31. If you have any idea of a better way, please, oh please, let me hear.
  32.  
  33. Thank you in advance,
  34. Tommi
  35.  
  36. PS: I think such a standard feature should be handled inside of MacApp and
  37. should included into the Grid example. But in the meantime is this not an idea
  38. for a "class room" project?
  39.  
  40.